package com.heima.common.exception;

import com.heima.model.common.dtos.ResponseResult;
import lombok.Data;

/**
 * @Project：heima-leadnews
 * @Author：fangkui
 * @Date：2021/1/24
 */

@Data
public class CustomException extends RuntimeException{

    private ResponseResult responseResult;

    public CustomException(ResponseResult responseResult) {
        this.responseResult = responseResult;
    }
}
